import _fetch from "api_liuhaojie/fetch";
/**
 * 根据类型查询商品信息
 * @param { Object } data 请求参数
 * {
 *   categoryId undefined
 * }
 * @responses { Object } 返回参数
 * {
 *   image undefined
 *   sellingCnt undefined
 *   subTitle undefined
 *   name undefined
 *   suffixName undefined
 *   sellPrice undefined
 *   detail undefined
 *   id undefined
 *   maxAmount undefined
 *   title undefined
 * }
 */
export function queryGoodsList(data) {
  return _fetch({
    url: "backend/huiquanyi/queryGoodsList",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 查询惠权益分类信息
 * @responses { Object } 返回参数
 * {
 *   categoryName undefined
 *   categoryId undefined
 * }
 */
export function queryCategoryList(data) {
  return _fetch({
    url: "backend/huiquanyi/queryCategoryList",
    method: "POST",
    data: data,
    headers: {}
  });
}